package cn.briarbear.myblog.entity.dto;

import javax.validation.constraints.NotNull;

public class BlogAddForm {


    @NotNull
    private String title;
    private String mdContent;
    private String htmlContent;
    private String introduction;
    private String rawTags;

    public BlogAddForm() {
    }

    public BlogAddForm(@NotNull String title, String mdContent, String htmlContent, String introduction, String rawTags) {
        this.title = title;
        this.mdContent = mdContent;
        this.htmlContent = htmlContent;
        this.introduction = introduction;
        this.rawTags = rawTags;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMdContent() {
        return mdContent;
    }

    public void setMdContent(String mdContent) {
        this.mdContent = mdContent;
    }

    public String getHtmlContent() {
        return htmlContent;
    }

    public void setHtmlContent(String htmlContent) {
        this.htmlContent = htmlContent;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getRawTags() {
        return rawTags;
    }

    public void setRawTags(String rawTags) {
        this.rawTags = rawTags;
    }
}

